package com.xiyan.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author ruiyanglee
 * @since 2020-07-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_permission")
@ApiModel(value = "Permission对象", description = "")
public class Permission extends BaseEntity {

    @ApiModelProperty(value = "权限名称")
    private String name;

    @ApiModelProperty(value = "操作码{create、add、update}")
    private String code;

    @ApiModelProperty(value = "权限具有的操作{/api/user/add}")
    private String url;
}
